package Chapter3;

class Father{
	private String name="zhangjun";
	class Child{
		public void introFather() {
			System.out.println("Father's name is "+name+".");
		}
	}
}

public class work2 {
	public static void main(String[] args) {
		Father.Child child=new Father().new Child();
		child.introFather();
	}

}
